<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="webjars/bootstrap/4.4.1/css/bootstrap.min.css">
    <script src="webjars/jquery/3.0.0/jquery.min.js"></script>
    <script src="webjars/bootstrap/4.4.1/js/bootstrap.min.js"></script>
</head>
<style>
    .card{
        margin: 0 auto;
        top: 16px;

    }
    .row{
        background-color: #45aaf2;
        margin: 0 auto;
        position: relative;
        top: 125px;
        width: 24rem;
        height: 120px;
        border-radius:12px  ;
    }
    body{
        height: 100%;
        width: 100%;
    }
</style>
<body>
<div class="container">
    <div class="row">
        <div class="card" style="width: 24rem;background-color: #f5f6fa">
            <div class="card-body">
                <h3 class="card-title">登录</h3>
                <form>
                    <div class="form-group">
                        <label for="username">账号</label>
                        <input type="text" class="form-control" id="username" name="username">
                        <small class="form-text text-muted">请输入账号</small>
                    </div>
                    <div class="form-group">
                        <label for="password">密码</label>
                        <input type="password" class="form-control" id="password" name="password">
                        <small class="form-text text-muted">请输入密码</small>
                    </div>
                    <div class="form-check">
                        <input type="radio" class="form-check-input" id="cache">

                        <label for="cache">记住密码</label>
                    </div>

                    <button type="submit" class="btn btn-primary">登录</button>
                    <button type="submit" class="btn btn-light" style="background-color: #FFFFFF">注册</button>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>

